home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / rexx / xdmd1.lha / YankRec.xdme < prev   
Text File  |  1994-10-27  |  271b  |  14 lines

  1. /* YankRec.xdme */
  2. /* This yanks a rectangle into the text. */
  3.  
  4. call open(input,"T:rectangle","R")
  5.  
  6. do forever
  7.     line = readln(input)
  8.     if eof(input) then leave
  9.     xcom = 'push pos insert (' || line || ') ping 9 pop pos down'
  10.     xcom
  11. end
  12. 'pong 9'
  13. call close(input)
  14.